package com.typ.member.service;

import com.github.pagehelper.PageInfo;
import com.typ.member.common.model.PageRequest;
import com.typ.member.dao.model.MemberTradeDto;
import com.typ.member.dao.model.MemberTradeQueryDto;

/**
 * @author heran
 * @version 1.0, 2019-05-10 11:21
 */
public interface MemberTradeService {
    void add(MemberTradeDto memberTradeDto);

    void update(MemberTradeDto memberTradeDto);

    void delete(Long id);

    PageInfo<MemberTradeDto> search(MemberTradeQueryDto memberTradeQueryDto, PageRequest pageRequest);
}
